package com.ruoyi.cloudcourse.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程对象 feather_course
 * 
 * @author ruoyi
 * @date 2021-07-13
 */
public class FeatherCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程ID */
    private Long courseId;

    /** 课程标题 */
    @Excel(name = "课程标题")
    private String courseTitle;

    /** 是否对外（0是 1否） */
    @Excel(name = "是否对外", readConverterExp = "0=是,1=否")
    private String foreign;

    /** 是否免费（0是 1否） */
    @Excel(name = "是否免费", readConverterExp = "0=是,1=否")
    private String free;

    /** 是否打折（0是 1否） */
    @Excel(name = "是否打折", readConverterExp = "0=是,1=否")
    private String discount;

    /** 课程价格 */
    @Excel(name = "课程价格")
    private BigDecimal coursePrice;

    /** 折后价 */
    @Excel(name = "折后价")
    private BigDecimal discountPrice;

    /** 降价描述 */
    @Excel(name = "降价描述")
    private String priceDescription;

    /** 课程副标题 */
    private String courseSubtitle;

    /** 课程简介 */
    private String courseIntroduction;

    /** 课程难度 */
    private String courseDifficulty;

    /** 排序 */
    private Long sort;

    /** 是否轮播（0是 1否） */
    private String carousel;

    /** 是否精品推荐（0是 1否） */
    private String recommend;

    /** 封面路径 */
    private String courseCover;

    /** 轮播图路径 */
    private String carouselMap;

    /** 电脑端轮播图路径 */
    private String pcCarouselMap;

    /** 是否展示详情（0是 1否） */
    private String showDetails;

    /** 课程详情介绍路径 */
    private String courseDetails;

    /** 播放量 */
    private Long playVolume;

    /** 上线状态（0上线 1下线） */
    private String courseStatus;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseTitle(String courseTitle) 
    {
        this.courseTitle = courseTitle;
    }

    public String getCourseTitle() 
    {
        return courseTitle;
    }
    public void setForeign(String foreign) 
    {
        this.foreign = foreign;
    }

    public String getForeign() 
    {
        return foreign;
    }
    public void setFree(String free) 
    {
        this.free = free;
    }

    public String getFree() 
    {
        return free;
    }
    public void setDiscount(String discount) 
    {
        this.discount = discount;
    }

    public String getDiscount() 
    {
        return discount;
    }
    public void setCoursePrice(BigDecimal coursePrice) 
    {
        this.coursePrice = coursePrice;
    }

    public BigDecimal getCoursePrice() 
    {
        return coursePrice;
    }
    public void setDiscountPrice(BigDecimal discountPrice) 
    {
        this.discountPrice = discountPrice;
    }

    public BigDecimal getDiscountPrice() 
    {
        return discountPrice;
    }
    public void setPriceDescription(String priceDescription) 
    {
        this.priceDescription = priceDescription;
    }

    public String getPriceDescription() 
    {
        return priceDescription;
    }
    public void setCourseSubtitle(String courseSubtitle) 
    {
        this.courseSubtitle = courseSubtitle;
    }

    public String getCourseSubtitle() 
    {
        return courseSubtitle;
    }
    public void setCourseIntroduction(String courseIntroduction) 
    {
        this.courseIntroduction = courseIntroduction;
    }

    public String getCourseIntroduction() 
    {
        return courseIntroduction;
    }
    public void setCourseDifficulty(String courseDifficulty) 
    {
        this.courseDifficulty = courseDifficulty;
    }

    public String getCourseDifficulty() 
    {
        return courseDifficulty;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setCarousel(String carousel) 
    {
        this.carousel = carousel;
    }

    public String getCarousel() 
    {
        return carousel;
    }
    public void setRecommend(String recommend) 
    {
        this.recommend = recommend;
    }

    public String getRecommend() 
    {
        return recommend;
    }
    public void setCourseCover(String courseCover) 
    {
        this.courseCover = courseCover;
    }

    public String getCourseCover() 
    {
        return courseCover;
    }
    public void setCarouselMap(String carouselMap) 
    {
        this.carouselMap = carouselMap;
    }

    public String getCarouselMap() 
    {
        return carouselMap;
    }
    public void setPcCarouselMap(String pcCarouselMap) 
    {
        this.pcCarouselMap = pcCarouselMap;
    }

    public String getPcCarouselMap() 
    {
        return pcCarouselMap;
    }
    public void setShowDetails(String showDetails) 
    {
        this.showDetails = showDetails;
    }

    public String getShowDetails() 
    {
        return showDetails;
    }
    public void setCourseDetails(String courseDetails) 
    {
        this.courseDetails = courseDetails;
    }

    public String getCourseDetails() 
    {
        return courseDetails;
    }
    public void setPlayVolume(Long playVolume) 
    {
        this.playVolume = playVolume;
    }

    public Long getPlayVolume() 
    {
        return playVolume;
    }
    public void setCourseStatus(String courseStatus) 
    {
        this.courseStatus = courseStatus;
    }

    public String getCourseStatus() 
    {
        return courseStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseTitle", getCourseTitle())
            .append("foreign", getForeign())
            .append("free", getFree())
            .append("discount", getDiscount())
            .append("coursePrice", getCoursePrice())
            .append("discountPrice", getDiscountPrice())
            .append("priceDescription", getPriceDescription())
            .append("courseSubtitle", getCourseSubtitle())
            .append("courseIntroduction", getCourseIntroduction())
            .append("courseDifficulty", getCourseDifficulty())
            .append("sort", getSort())
            .append("carousel", getCarousel())
            .append("recommend", getRecommend())
            .append("courseCover", getCourseCover())
            .append("carouselMap", getCarouselMap())
            .append("pcCarouselMap", getPcCarouselMap())
            .append("showDetails", getShowDetails())
            .append("courseDetails", getCourseDetails())
            .append("playVolume", getPlayVolume())
            .append("courseStatus", getCourseStatus())
            .append("remark", getRemark())
            .toString();
    }
}
